package cn.life.business.schedule.service;

import cn.life.common.entity.model.CMessage;
import cn.life.business.schedule.entity.po.Schedule;
import cn.life.business.schedule.entity.vo.ScheduleVo;
import cn.life.common.entity.model.MyUserInfo;

import java.util.List;

/**
 * @author 王振宇
 * @Description:
 * @Date 2018-07-13 17:17:00
 */
public interface ScheduleService {

    /**
     * @Description: 新增工厂项目进度记录
     * @param schedule
     * @return:
     */
    CMessage  addschedule(Schedule schedule);

    /**
     * @Description: 删除工厂项目进度记录
     * @param schedule
     * @return:
     */
    CMessage deleteschedule(Schedule schedule);

    /**
     * @Description: 修改工厂项目进度记录
     * @param schedule
     * @return:
     */
    CMessage updateschedule(Schedule schedule);

    /**
     * @Description: 查询工厂项目进度记录
     * @param scheduleVo
     * @return:
     */
    CMessage getAllScheduleInfo(ScheduleVo scheduleVo,MyUserInfo myUserInfo);

    /**
     * @Description: 查询（详情页面）工厂项目进度记录
     * @param scheduleVo
     * @return:
     */
    CMessage getSchedule(ScheduleVo scheduleVo);

    /**
     * @Description: 查询ajax
     * @param scheduleVo
     * @return:
     */
    CMessage getAjax(ScheduleVo scheduleVo);
    /**
     * @Description:    审核进度信息
     *
     * @param scheduleVo
     * @return:
     *
     * @Author 李佳明
     * @Date 2018-09-25 上午 10:32
     */
    CMessage auditSchedule(ScheduleVo scheduleVo);
    /**
     * @Description:    项目看板
     *
     * @param scheduleVo
     * @return:
     *
     * @Author 李佳明
     * @Date 2018/12/3 0003 22:00
     */
    CMessage queryProjectKanban(ScheduleVo scheduleVo, MyUserInfo myUserInfo);
}
